﻿<Window x:Class="WPFApp.Window1"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Name="RootWindow" Title="Window1" 
    AllowsTransparency="True" WindowStyle="None" Background="Transparent" Topmost="True" WindowStartupLocation="CenterScreen"  Width="1920" Height="1080" HorizontalAlignment="Center" VerticalAlignment="Center">
    <Grid x:Name="mainGrid" >
        <Canvas Width="1920" Height="1080" HorizontalAlignment="Center" VerticalAlignment="Center">
            <Image x:Name="directXImage" Width="1920" Height="1080" Stretch="Uniform" />
        </Canvas>
        <Button Opacity=".6" Width="399.96" Height="99.99" FontSize="18" >
            Hello WPF with Direct3D9 and Cuda
        </Button>
        <Button Width="29.988" Height="29.997" FontSize="18" Click="Button_Click" HorizontalAlignment="Right" Margin="0,282,423,0" VerticalAlignment="Top">X</Button>
    </Grid>
</Window>
